The order in which month and year are displayed is controlled by
a "special" translated string in GTK+. We pick up the translation
from there, so make sure that it doesn't get translated again
in gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=715042
const MSECS_IN_DAY = 24 * 60 * 60 * 1000;
const SHOW_WEEKDATE_KEY = 'show-weekdate';
+// alias to prevent xgettext from picking up strings translated in GTK+
+const gtk30_ = Gettext_gtk30.gettext;
+
// in org.gnome.desktop.interface
const CLOCK_FORMAT_KEY = 'clock-format';
// Find the ordering for month/year in the calendar heading
this._headerFormatWithoutYear = '%B';
- switch (Gettext_gtk30.gettext('calendar:MY')) {
+ switch (gtk30_('calendar:MY')) {
case 'calendar:MY':
this._headerFormat = '%B %Y';
break;